<template>
 <h1>El-按钮组件</h1>
  <!-- 如果按钮有样式 说明element-plus组件库引入成功了 -->
  <!-- 如果写el-button有提示 说明IDEA插件element安装成功了 -->
  <!-- 参照笔记完成以上两步 注意需要重启IDEA! -->
  <el-button>按钮</el-button>
  <!-- type切换按钮的主题色 plain镂空按钮 round胶囊型按钮 circle圆形按钮
   disabled禁用按钮 link链接按钮 -->
  <el-button type="primary" plain>蓝按钮</el-button>
  <el-button type="success" round>绿按钮</el-button>
  <el-button type="danger" circle>红按钮</el-button>
  <el-button type="warning" disabled>黄按钮</el-button>
  <el-button type="info" link>灰按钮</el-button>
  <div>
    <el-button :icon="Search" circle />
    <el-button type="primary" :icon="Edit" circle />
    <el-button type="success" :icon="Check" circle />
    <el-button type="info" :icon="Message" circle />
    <el-button type="warning" :icon="Star" circle />
    <el-button type="danger" :icon="Delete" circle />
  </div>
</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>


<style scoped>

</style>